package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;

import java.time.LocalDateTime;

/**
 * 
 *
 * @author code-generate
 * @date 2021-08-30
 */
@DbTable(tableName = "t_gps_object_relation")
public class GpsObjectRelation extends BaseEntity {
        /**
     * 
     */
    @DbTableField(columnName = "c_obj_type", dbType = DbTypeEnum.INTEGER)
    public Integer objType ;

    /**
     * 
     */
    @DbTableField(columnName = "c_obj_id", dbType = DbTypeEnum.VARCHAR)
    public String objId ;

    /**
     * 
     */
    @DbTableField(columnName = "c_gps_id", dbType = DbTypeEnum.INTEGER)
    public Integer gpsId ;

    /**
     * 
     */
    @DbTableField(columnName = "c_is_new", dbType = DbTypeEnum.INTEGER)
    public Integer isNew ;

    /**
     * 
     */
    @DbTableField(columnName = "c_device_event", dbType = DbTypeEnum.INTEGER)
    public Integer deviceEvent ;

    /**
     * 
     */
    @DbTableField(columnName = "c_device_event_desc", dbType = DbTypeEnum.VARCHAR)
    public String deviceEventDesc ;

    /**
     * 
     */
    @DbTableField(columnName = "c_event_op_id", dbType = DbTypeEnum.INTEGER)
    public Integer eventOpId ;

    /**
     * 
     */
    @DbTableField(columnName = "c_event_op_name", dbType = DbTypeEnum.VARCHAR)
    public String eventOpName ;

    /**
     * 创建id
     */
    @DbTableField(columnName = "c_db_create_id", dbType = DbTypeEnum.INTEGER)
    public Integer dbCreateId ;

    /**
     * 
     */
    @DbTableField(columnName = "c_db_create_date", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime dbCreateDate ;

    /**
     * 修改id
     */
    @DbTableField(columnName = "c_db_last_update_id", dbType = DbTypeEnum.INTEGER)
    public Integer dbLastUpdateId ;

    /**
     * 
     */
    @DbTableField(columnName = "c_db_last_update_date", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime dbLastUpdateDate ;


}
